<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>{$WEB.name}</title>

<link href='__PUBLIC__/Agents/css/global.css' rel='stylesheet' type='text/css' />
<link href='__PUBLIC__/Agents/css/main.css' rel='stylesheet' type='text/css' />
<script type='text/javascript' src='__PUBLIC__/Agents/js/jquery-1.7.2.min.js'></script>
<script type='text/javascript' src='__PUBLIC__/Agents/js/global.js'></script>

</head>

<body>
<script type='text/javascript' src='__PUBLIC__/Agents/js/main.js'></script>
<script type="text/javascript">$(document).ready(main_obj.page_init);</script>
<div id="header">
    <include file="Public/logo"/>
</div>
<div id="main" class="wrap">

     <!-- 左边栏目导航 -->
    <include file="Public/left"/>
    
    <div class="righter">
        <link href='__PUBLIC__/Agents/css/account.css' rel='stylesheet' type='text/css' />
<script type='text/javascript' src='__PUBLIC__/Agents/js/account.js'></script>
<div class="r_nav">
    <ul>
                    <li class="cur"><a href="{:U('Users/recharge',array('uid'=>$userinfo['uid']))}">充值</a></li>
            </ul>
</div>      <div class="r_con"><script language="javascript"></script>
<div id="profile">
    <form id="profile_form" method="post"  class="r_con_form"  action="{:U('recharge')}">
        <div class="profile_msg"></div>
        <div class="rows">
            <label>用户账号</label>
            <span class="input">{$userinfo.nickname}</span>
            <div class="clear"></div>
        </div>
        <div class="rows">
            <label>现在余额</label>
            <span class="input">{$userinfo.money}</span>
            <div class="clear"></div>
        </div>
        <div class="rows">
            <label>充值金额</label>
            <span class="input"><input name="money" id="money" value="" type="text" class="form_input" size="40" maxlength="20" notnull></span>
            <div class="clear"></div>
        </div>
        <div class="rows">
            <label></label>
            <span class="input"><input type="submit" class="btn_green" name="submit_button" value="充值" /></span>
            <div class="clear"></div>
            <input type="hidden" name="uid" value="{$userinfo.uid}"/>
        </div>
    </form>
</div></div>
    </div>
    <div class="clear"></div>
</div>
<div id="footer">
    <!-- 底部信息 -->
    <include file="Public/footer"/>
</div>

<script type="text/javascript">$(document).ready(function(){
	$('form').submit(function(){
		var val = $('input[name=money]').val();
		if(confirm('您确定为用户{$userinfo['nickname']}充值'+val+'元吗？')){
			return true;
		}
		return false;
	});
});</script>

</body>
</html>